<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>

	
<%--
<div id="content" class="row-fluid">
				<div id="leftNav">
					<ul id="slideBox">
						<c:forEach items="${fns:getMenuAndChildListByParentId(param.parentId)}" var="menu" varStatus="idxStatus">							
							<li>
								<c:if test="${empty menu.href}">
									<div class="fmenu divclass" style="text-align: left;padding-left: 32px;">
										<i class="icon icon-nav ${menu.icon}"></i>
										<span>${menu.name}</span>
										<i class="icon icon-jt"></i>
									</div>
								</c:if>
								<c:if test="${not empty menu.href }">
									<a class="fmenu ${menu.icon}" data-src="${ctx}${menu.href}" href="${ctx}${menu.href}" target="mainFrame">
										<i class="icon icon-nav icon-nav-01"></i>
										<span>${menu.name}</span>
										<i class="icon icon-jt"></i>
									</a>
								</c:if>
								<div class="cnav hide">
									<c:forEach items="${menu.menuList}" var="second" varStatus="seIndex">
										<a class="${second.icon}" data-src="${ctx}${second.href}" href="${ctx}${second.href}" target="mainFrame">
											<i class="icon icon-nav icon-nav-01"></i>
											<span>${second.name}</span>
											<i class="icon icon-jt"></i>
											
											<c:forEach items="${second.menuList}" var="third" varStatus="thirdIndex">
												<c:if test="${thirdIndex.index==0 }">
													<span data-url="${ctx}${third.href}" data-name="${third.name }"></span>
												</c:if>
												<input type="hidden" value="" data-url="${ctx}${third.href}" data-name="${third.name }"/>
											</c:forEach>
										</a>
									</c:forEach>
								</div>
							</li>
						</c:forEach>
					</ul>
				</div>
				<!-- <div id="openClose" class="close">&nbsp;</div> -->
				<div id="right">
					<input type="hidden" id="closedwindow" value="false"/>
					<iframe id="mainFrame" name="mainFrame" src=""
						style="overflow: visible;" scrolling="yes" frameborder="no"
						width="100%" height="650"></iframe>
				</div>
			</div>
		
  
<div class="accordion" id="menu-${param.parentId}">
	<c:set var="menuList" value="${fns:getMenuList()}" />
	<c:set var="firstMenu" value="false" />
	<c:forEach items="${menuList}" var="menu" varStatus="idxStatus">
		<c:if
			test="${menu.parent.id eq (not empty param.parentId ? param.parentId:1)&&menu.isShow eq '1'}">
			<div id="menu-group-${menu.id}" class="accordion-group">
				<div class="accordion-heading">
					<a class="accordion-toggle" data-toggle="collapse"
						data-parent="#menu-${param.parentId}"
						data-href="#collapse-${menu.id}" href="#collapse-${menu.id}"
						title="${menu.remarks}"><i
						class="icon-chevron-${not empty firstMenu && firstMenu ? 'down' : 'right'}"></i>&nbsp;
						<c:if test="${not empty menu.icon}">
										<img src="${ctxStatic}/${menu.icon}"/></c:if>
										<c:if test="${empty menu.icon}"><!--默认图片-->
										<img src="${ctxStatic}/images/sd/icon1.png"/></c:if>
						
						${menu.name}</a>
				</div>
				<div id="collapse-${menu.id}"
					class="accordion-body collapse ${not empty firstMenu && firstMenu ? 'in' : ''}">
					<div class="accordion-inner">
						<ul class="nav nav-list">
							<c:forEach items="${menuList}" var="menu2">
								<c:if test="${menu2.parent.id eq menu.id&&menu2.isShow eq '1'}">
									<li><a id="menu2-a-${menu2.id}" data-parent-group="menu-group-${menu.id}" data-href=".menu3-${menu2.id}"
										href="${fn:indexOf(menu2.href, '://') eq -1 ? ctx : ''}${not empty menu2.href ? menu2.href : '/404'}"
										target="${not empty menu2.target ? menu2.target : 'mainFrame'}"><i 
											class="icon-${not empty menu2.icon ? menu2.icon : 'circle-arrow-right'}"></i>&nbsp;${menu2.name}</a>
										<ul class="nav nav-list hide"
											style="margin: 0; padding-right: 0;">
											<c:forEach items="${menuList}" var="menu3">
												<c:if
													test="${menu3.parent.id eq menu2.id&&menu3.isShow eq '1'}">
													<li class="menu3-${menu2.id} hide"><a
														href="${fn:indexOf(menu3.href, '://') eq -1 ? ctx : ''}${not empty menu3.href ? menu3.href : '/404'}"
														target="${not empty menu3.target ? menu3.target : 'mainFrame'}"><i
															class="icon-${not empty menu3.icon ? menu3.icon : 'circle-arrow-right'}"></i>&nbsp;${menu3.name}</a></li>
												</c:if>
											</c:forEach>
										</ul></li>
									<c:set var="firstMenu" value="false" />
								</c:if>
							</c:forEach>
						</ul>
					</div>
				</div>
			</div>
		</c:if>
	</c:forEach>
</div>
--%>